function copyToClipboard() {
    var copyText = document.querySelector(".referral_link");
    copyText.select();
    copyText.setSelectionRange(0, 99999);
    document.execCommand("copy");
    alert("已复制邀请链接!");
}
